<template>
   <div>
    <ul>
        <li>消息编号：{{$route.query.id}}</li>
        <li>消息标题：{{$route.query.title}}</li>
    </ul>
   </div>
</template>
 
<script>
    export default{
            name:'Detail-test',
            mounted() {
                console.log(this.$route);
            },
            }
</script>

<style scoped>
    a{
        text-decoration: none;
    }
</style>